package com.jiezhuo.mapper.jetlinks;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jiezhuo.entity.jetlinks.DevDeviceInstance;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author com.jiezhuo
 * @since 2023-12-12
 */
public interface DevDeviceInstanceMapper extends BaseMapper<DevDeviceInstance> {

    Page<HashMap<String, Object>> getDeviceInfo(@Param("parentId") String parentId, @Param("id") String id, Page<DevDeviceInstance> pageSmall,@Param(Constants.WRAPPER)  QueryWrapper<DevDeviceInstance> devDeviceInstanceQueryWrapper);
}
